home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-03-14 | 2.4 KB | 44 lines | [TEXT/EDIT] |
-
- Attached is DeskCheck, a tiny application which checks to see that
- everybody's bundle (BNDL) is correctly constructed. Errors in bundle
- construction can propagate to the desktop file, causing no end of
- trouble for the Finder, including system hangs and bombs, and an
- unusually bloated Desktop. Finder 5.3 is relatively good about protecting
- itself, but earlier Finders were sitting ducks. Note that DeskCheck
- only looks for problems. Beyond telling you, it doesn't *do* anything
- about them. That's a job for ResEdit.
-
- As a Mac application, DeskCheck is a sorry example. It's utterly modal
- and provides only minimal user control over the files to be checked.
- Its purpose, however, was to quickly find problems in a large collection
- of PD and shareware stuff. Since the source code is included, someone
- with lots of spare time can improve the user interface.
-
- DeskCheck has been tested on the Mac Plus, Mac 512 (not 512E), and Mac XL.
- Target volumes have been floppies, ramdisks, an internal winchester, and
- a variety of external SCSI disks. Examining 2000+ files (about 60megs) on
- a 140meg SCSI drive takes about five minutes. The only "bomb" problem not
- fixed is that some defective resource files cause crashes in _OpenResFile.
- Short of doing my own sanity check of the resource fork before calling
- _OpenResFile, I don't see any way of fixing that one. [The only such file
- I found was the StdEnv file from ExperLogo. Other bogus resource files
- simply return errors from _OpenResFile.]
-
- In the category of minor annoyances, DeskCheck will make two pointless
- complaints about the Desktop file: that the bundle bit is off even
- though the file has bundles; and that the bundles don't assign it an icon.
- Both messages are perfectly normal. Anything else DeskCheck tells you
- about your Desktop file is *not* normal.
-
- As I tested DeskCheck, I was surprised to find minor errors in such Apple
- programs as Font/DA Mover and MacWrite (some ICN# resources were the wrong
- size). I was alarmed to find a major error in Disk First Aid (an ICN#
- resource is missing). I was overwhelmed by the number and variety of
- errors I saw in commercial, PD, and shareware items. One such error may
- clear up a historical mystery. Back in Finder 4.1 days, Rascal Billiards
- had a reputation for killing Hyperdrives. Now I see that it has a
- defective bundle, which could have caused a bloated DeskTop file, which
- might have sent the Hyperdrive's tenuous space/memory management out to
- lunch. Just a guess.
-
-